package tr.edu.yildiz.ce.app_manager.ui.components.main;

import tr.edu.yildiz.ce.app_manager.ui.AppManagerApplication;

import com.vaadin.ui.Form;
import com.vaadin.ui.Label;
import com.vaadin.ui.SplitPanel;
import com.vaadin.ui.Table;

public class MainLayout extends SplitPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7049828102508557726L;

	public MainLayout(AppManagerApplication app) {
		setHeight("650px");
		setWidth("950px");
		setSplitPosition(220, SplitPanel.UNITS_PIXELS);
		setOrientation(SplitPanel.ORIENTATION_VERTICAL);
	}
	
	public void setTable(Form form){
		setFirstComponent(form);
	}
	
	public void setForm(Form form){
		setSecondComponent(form);
	}
	
}
